package com.sobot.finance.poc.web.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

/**
 * @author baiyp
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "poc")
public class TaskConfig {

    private List<Map<String, String>> cron;

    private List<Map<String, Integer>> retry;
}
